
#include "stdafx.h"
#include "dllhead.h"

int gid1 = 1;

#ifdef __cplusplus
extern "C"
{
#endif

	MYDLL_API void __stdcall	Daq_Set(int gain, int trimode, int clkmode, int samrate )
	{	}
	MYDLL_API int __stdcall		Daq_Start( )	{	return 1;	}
	MYDLL_API void __stdcall	Daq_Stop()	{		}
	MYDLL_API int __stdcall		Daq_Get(int maxlen, double *buf){	return 1;	}
	MYDLL_API void __stdcall	Daq_SetDo( unsigned short d )	{	}
	MYDLL_API void __stdcall	Daq_Beep(bool beep)	{	}
	MYDLL_API void __stdcall	Daq_Quit()	{	}
	MYDLL_API int __stdcall		dll_Test(int i)	
	{	
		MessageBox(NULL,TEXT("this is a dll."), TEXT("test"),MB_OK | MB_ICONINFORMATION);
		return 1;	
	}
	MYDLL_API void __stdcall	Daq_Setch( int ench )	{	}
	MYDLL_API int __stdcall		Daq_Getchs( double *buf2 )	{	return 1;	}

#ifdef __cplusplus
}
#endif 
